

function HeartBeat(roomReferenceData) {

    let message = {

        "header":{

            "msg_type":"heart_beat",
            "user_id":roomReferenceData.userId,
            "room_id":roomReferenceData.roomId
        },
        "content":{

            "timestamp":new Date().getUTCSeconds()
        }
    }
    return JSON.stringify(message)
}

function ProcessHeartBeat(roomReferenceData, message) {


}